I hear where this is coming from. I think investigating how to manage function sets as a service and exploiting differentiating cloud capabilities is more beneficial.
“Enabling portability and interoperability for FaaS functions across different FaaS platforms can easily facilitate use cases such as multi-cloud serverless [25] and the seamless deployment and configuration of functions across the edge-cloud continuum [8].”
http://arxiv.org/abs/2401.10367.