It doesn’t seems to
RegEx and RegExBuilder support needs Swift 5.7. Playgrounds app on the iPad currently only supports Swift 5.6.
Therefore it is not enough to have iPadOS 16 beta installed on the iPad you would need a new version of Playgrounds app too. Unfortunately this newer version often comes very late in the year, usually only after the new macOS version ships (in oct or nov) and in the last years there was no Testflight beta for the app.