April Tag library as a custom dictionary in 3.3

I’m in an environment that is limited to version 3.3 of opencv and opencv-contrib.

But I need to use one of the apriltag aruco dictionaries that came in a later version of opencv-contrib.

Is there some direct way of adding it as a custom dictionary or something?