They could add an optional plugin that uses protondb to get a quick overview of compatability
ProtonDB isn’t a Steam product though, it’s a crowdsourced community effort built and maintained by users. Steam pulling that into their official infrastructure would immediately put a ton of technical stress on the project. It would also be pushing on that boundary between a corporation supporting a community project and drafting all its volunteers as unpaid labor.