I don't see why not - you are not staying for a given number of nights consecutively, which is usually "the sore issue". The only "eh" may be the immediate one where you stayed prior to SdC, but if you spend an extra night or two in town that...
I will be walking from Porto to Santiago in September, staying mainly in municipal albergues.
I then want to walk back towards Porto.
Is it OK to stay in the same albergues?
This site is run by Ivar at in Santiago de Compostela.
This site participates in the Amazon Affiliate program, designed to provide a means for Ivar to earn fees by linking to Amazon