Surely that depends on your company's annual leave policy?
You need to check your staff handbook/contract.
For what it's worth I did something very similar in-between almost back to back maternity leaves. I made it explicitly clear to my manager/colleagues that I was prepared to be flexible to accommodate any other team members wanting to take time off.
E.g It's hardly fair if you book every Thursday/Friday off until Christmas if doing so prevents anyone else from taking those days during that period.