I'm not sure what did you mean? Did you mean by using Cloudflare tunnel? I'm searching about to use Cloudflare tunnel for Electrum server protocol, it doesn't work, and I think it is because to use arbitrary TCP connection is a paid feature of the Enterprise plan of Cloudflare. Do you know about that?
Some references:
https://v2.minibolt.info/bonus-guides/system/cloudflare-tunnel
https://developers.cloudflare.com/fundamentals/get-started/reference/network-ports/
https://developers.cloudflare.com/cloudflare-one/applications/non-http/arbitrary-tcp
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/smb/