Yes. Surface Pro 7 has a USB-C port that supports DisplayPort over USB-C (DP Alt Mode) for connecting external displays.
From the tech specs, Surface Pro 7 includes “1 x USB-C” among its connections, and Microsoft’s external display guidance explicitly describes using the USB-C port on Surface devices to connect to monitors via USB-C or via USB-C display adapters (for HDMI, DisplayPort, etc.). This means the USB-C port carries DisplayPort video signals for external monitors when used with appropriate cables/adapters.
For best results, use Designed for Surface accessories or Surface USB-C to display adapters, and ensure cables/adapters are certified and of appropriate versions (for example, HDMI 2.0 or DisplayPort 1.2 as recommended).
References: