I'm afraid not, you cannot actually install any applications or server-side services using your Apple iCloud storage space.
You will need to install a MySQL service on your Mac, use 3rd-party Virtual Machine software to set up a Linux VM on your Mac, or purchase some web hosting, ideally VPS (Virtual Private Server) hosting.
I haven't done this on macOS 10.15 Catalina as you might run into security issues (since it installs into some of the low-level system folder locations) but this is the basics here:
https://dev.mysql.com/doc/mysql-osx-excerpt/5.7/en/osx-installation-pkg.html
Then, with a MySQL server running in the background of your macOS, you can use any MySQL client to connect to that server daemon running in the background.
However, I strongly recommend you get a dirt-cheap VPS hosting service or set up a dedicated linux box on your network for this purpose.