Government homes that I would think you're referring to are Fannie Mae, HUD, or (less frequently) Freddie Mac. Both Fannie Mae and HUD start with an online application. As Sheryl had mentioned, they give preference to an owner occupied home and only consider those for the first two weeks. (NOT a good idea to misrepresent your intention. That's fraud and expect prosecution. They are monitoring that. )
Cash can influence the decision if you are offering to pay the difference between the offer price and the appraised value, or can offer to close in a shorter time frame. All cash could be a help if there are condition issues with the home that the seller believes may affect the buyer being able to get the home financed, but that could also be addressed by offering with an FHA renovation loan.
There are definitely nuances to negotiating your offer to be selected so select a realtor who has experience and not your brother or friend who does it part time after work. You are competing. High net value where there are no issues on condition will have you selected as the buyer even if you aren't all cash. Good luck!