For every complex, difficult and hard problem, there is a simple, easy and wrong solution.
Paint obviously is not the right tool for making seals air tight.
It is not obvious to me that there is no specialized type of paint that would be appropriate.
Doing the whole module sounds like a lot of mass though.
You ever try to open an old paint can? Checkmate, atheist.