This model has been certified with Ubuntu, see this page. However, this doesn't mean that there will be no hardware problems or glitches whatsoever.
An older reddit thread reported some minor issues. As of 1-2 years ago, when that thread was made, the general reports were that it works with Ubuntu 22, but there are some glitches with certain hardware, including secure boot, dolby effect, face recognition, and the Tile tracker. One user had some trouble installing but got it to work.
Although the reputation for the ThinkPad line's compatibility with linux is pretty good across-the-board, at the time of that thread, it was a cutting edge model and there seemed to be a consensus that support for it was shaky.
However, it could be that most or all of these kinks have been worked out.
If you are absolutely wedded to a particular aspect of hardware working, I would research the compatibility with the specific hardware component before buying. If you just want a system that works for the basics, then this system will likely work fine.