From the guide · How grant money actually flows: reimbursement, advances and holdbacks
Can I use grant money to pay my own salary?
In short
It depends on the program.
Some count the wages of people working on the project as eligible costs; others don't. Check the program's eligible costs before you build your budget.
Answers explain how funding usually works. A program’s amount, dates and rules are on its own page, in the funder’s words.