Does Islam allows married partners to have as much children as they want e.g 4-5 and then use a permanent birth control. Permanent birth control methods could be a surgery or any thing else so does Islam allow this with the consent of both the spouses or not

Surgery in this case is only allowed if it’s reversible