they certainly do have the capability to do their own engine. they designed, from the ground up, the 919 engine which was equally complex to the current F1 engines and more complex than the 2026 engines.
whether they wanted to is a separate question.