You can create a lakehouse and other items using Service Principal. Please make sure below settings are enabled for Service Principal. Make sure Allow Service Principals to create and use Profiles enabled.
It's solved in this article: Solved: Re: Need help to create Lakehouse programmatically... - Microsoft Fabric Community