Is it harder to get a mortgage if I’m self-employed?

Is it harder to get a mortgage if I’m self-employed?