Yes!
And as he gets older he will be able to hold it longer and soon you'll be able to sleep through the night again! Are you taking him out to potty
right before you go to bed? When are you stopping his food and water intake? Those things can also help curb accidents and lessen the need to get up in the middle of the night.