Yes, a company will pay you to work on open source projects that are considered valuable for that company.
I am surprised that Marak hasn't been offered a satisfactory job that pays six figures already. Perhaps he makes some mistakes while applying, or luck hasn't been on his side.