Yes, both of these incomes can be combined and then apply for a mortgage. In regards to rideshare income, you generally have to be a rideshare driver for a minimum of 6 months but lenders often require 2 years of financials and IR3 at the time of application assessment.