That’s not really a recommended configuration.
One of the problems with be the challenge of supporting inbound traffic on typical Internet plans. You may need to use a VPN or similar.
The far better approach is to run the servers and recorded data in the cloud or in traditional infrastructure, and have both your gateways and your data visualization terminals make outbound requests to that.
If you solve the Internet routing issue, running services on a pi isn’t that fundamentally different in terms of install process than running them the recommended way on a cloud instance, it’s just less powerful, less reliable, and has that routing issue…