yes, you can use the exact same process.
deploy Rasa X to a server Deploy to a Server
make sure your credentials.yml contains the rest channel, see Your Own Website
All conversations that go via the webhook will get persisted in the DB on your server. By default this will be a postgres DB