You can choose from various legal poker sites in Pennsylvania, or, if you don't want to spend any money, specifically look for the best poker freerolls in Pennsylvania to play poker for free.
Yes, it is legal to play online poker in Pennsylvania and has been since state lawmakers legalized it in 2017, with the first online poker site going live in 2019.