There are really good /wired/ noise cancelling headphones on the market. Including in-ear ones. I love my Airpods Pro, but they are nowhere near as good as wired ones. So I'd look into those instead. (perhaps a second hand pair and sell the airpods ;)
From a electrical perspective: the airpods have 2 small metal strips at the bottom. Improvising a little adapater should be straightforward. Main question is what voltage does it take and if the airpods themselves have built-in over-charge protection. (charging at 4v should prevent over-charging)