Create a virtual monitor and allow that monitor to be used with VNC. More information: https://invent.kde.org/network/krfb.
krfb-virtualmonitor --resolution 1920x1080 --name monitor_name --password password --port 5900