Gender selection, also known as sex selection, is possible through IVF with preimplantation genetic testing (PGT). However, it is usually performed for medical reasons.