Can we build base docker images which are GUI enabled (NO X11 forwarding)?

I have successfully been able to create a docker image with a matlab compiler runtime engine installed with centos6.9 as parent image. This works wonderfully and enables running matlab scripts within the container.

However, we also have a MATLAB GUI application for linux which we would like to launch from within the container. I was successful in running the GUI by X11 forwaring on Windows 10 by using xming server.

Question is: Is it possible to create a docker image for centos 6.9 with GUI capabilities(linux desktop) so that the X11 forwarding is not required? If yes, please point to some resources.

Source: StackOverflow