This was recommended to me by Jon Yongfook who got to 10k MRR this way last year and is now at 50k MRR, all by following this pattern [0]. He's also an engineer by trade but found that this alternating business and engineering week approach is extremely effective for solo founders, especially solo engineers who'd usually let their marketing fall by the wayside as they focus on coding then wonder how their startup failed after they got no customers.
So if you know you want take this approach, make sure to do your market research beforehand and see that it's an economically viable approach. It works great for something like Bannerbear where the clients can just find another way to make images for a week or so. If it's something crucial to client deployment of their own products or if you're B2C, less so.
(I'm a programmer who worked in communications a bit.)
Learning all aspects of running a business is definitely plausible, but actually doing all the work becomes a logistical nightmare of opportunity costs very quickly.