That's what Steam is. It works on both Linux, Windows, and macOS, and it sells apps for all three platforms. Funding isn't a problem, as Valve takes a cut of sales. The whole thing is only possible though since the supported platforms are not locked down.