It probably was possible a year or 2 ago tigerlily with a self-cert. mortgage, whereby the mortgage company don't get in touch with your 'employer', you just tell them who you are employed with and how much you earn. Presumably, your friend had to tell a couple of white lies or to be more blunt, commit mortgage fraud. But as I'm sure you are aware, mortgages have suddenly become a lot harder to get. It may still be possible however, have a word with your bank/building society manager and an independant mortgage advisor.
Good luck.