The key question is whether the location(s) you'll be staying away from home are fixed ones that could be considered a "permanent workplace". If the locations are permanent, then you can't deduct them from taxes; if they are temporary then you can deduct them.
Note that you can have multiple permanent workplaces, so it's not enough to say that you have a single permanent workplace near your own home so the other places are temporary.
The key HMRC guide setting this out is here.