Egg-Laying and Animal Sex
No, only female animals lay eggs.
While many animals lay eggs, only females have the biological capacity to do so because they produce the egg cells (ova), which are essential for fertilization and embryo development.
There are some exceptions, such as hermaphroditic animals, which have both male and female reproductive organs. In these cases, the individual can lay eggs but is still considered “female” for the purposes of egg laying.