Can I use together MySQL & Mariadb on VPS

HY GUYS I install w latest HerniaCP, MYySQL but need change to Mariadb is this possible or do i need a new installation HerniaCP?

It is named HestiaCP (I can sense it was auto correct on your end).

Run it on different ports, and if possible run one of them as docker.

More here: https://dev.mysql.com/doc/refman/8.4/en/multiple-servers.html & https://stackoverflow.com/questions/17260125/running-mariadb-mysql-on-the-same-server#46583284 & Installing MariaDB Alongside MySQL | MariaDB Documentation