removing epoxy and staining

Hello All!

I have decided to stain the deck of my boat but already have some epoxy on those pieces from joining them. Can I sand through this stuff down to bare wood and then do the staining or is it too late. Thanks for the help.