I’ve never done that myself, I’d just toss the can in the trash and buy a new one. But for an intrepid diy’er like yourself, no harm done to give it a try, presuming you can figure out a way to access the paint can’s contents without the problem noted above. I’m interested in the results, so keep us informed.
Suggest to apply a coat of epoxy-primer first.