Setting up a LXC container with GUI

Hi all. I have come across many YouTube videos demonstrating the virtues of LXC containers.
Could I use this for example to run an application GUI ? For example install a basic Ubuntu or Debian desktop and run my CAD program? - Would I be disappointed with the performance?
I am trying to establish how realistic this plan is. My goal is using Manjaro as my everyday desktop.
To do this I need it to support a variety of jobs and applications.

There are several ways to achieve this:
https://wiki.archlinux.org/title/Linux_Containers#Xorg_program_considerations_(optional)
https://wiki.archlinux.org/title/LXD#Use_Wayland_and_Xorg_applications

Thanks - lots of details to take in. It will keep me busy. I am wondering if anyone is using a GUI in their container.
Going by questions on the forum, some manjaro fans are using Virtualbox but it seems old technology now. With LXC built into the kernel I am hoping for a better Linux solution.