Please tell me, is it possible to set up a filter in the search for the presence of a license for the game?
Yes, see the license filters in the directory. But keep in mind that legal and ethical are different things.
That may be the most suspicious question I’ve seen someone ask all year
OP wants to steal a bunch of games and put them on coolmathgames or something.