Is it possible to change pool length during training?

As I stated in the subject - have you tried it?
Is it at all possible?

I am asking because I have a long distance swimming training and I would like to use 50 meters pool for that but then in the middle of my training I have 10 sprints - 25 meters distance (change swimming pool to 25 meter-long) and finally return to 50 meters for the rest of my swim.

Thanks for help and suggestions
Slight smile