I’ve taken ovulation tests and they say I’m fertile. However, I want to select the gender. Even though I’m fertile, can I do IVF?

Yes, but... It's not nice to mess with Mother Nature. Always decide if there is truly an overwhelmingly convincing reason to interfere with nature, before trying to do it. If there is no known genetic defect in the family genes that would create a mutation in either boys or girls, then we let nature decide whether the next baby will be a boy or girl. If no mutations, both boy and girl babies are fine.