I do this all the time. Saves money on yeast and saves me a carboy washing.
I plan my brews and brew schedule around this. Always pitching darker, more complex brews over lighter ones since flavors of the first batch with transfer over to the second batch. As soon as I empty a carboy, I...