A think tank says Rishi Sunak risks breaking Treasury rules on borrowing if he is to boost public spending.