yes, the mortgage companies (per Fannie / Freddie guidelines) will look to your rent, utilities, etc as demonstration of 'willingness to pay' - be sure those bills are in your name (and not the roommate's name)
however, they will still separately assess your 'ability to pay' (how high is the proposed mortgage payment compared to your income and well as how much 'skin in the game' (the down payment) you have. FHA programs require 3% down. Note that the interest rate (when including the mortgage insurance premium or MIP) is higher whenever you put less than 20% down.