A:
If the matter is as you mentioned, it is not permissible
to eat testicles that have been cut off an animal that is still alive, because the Prophet (peace be upon him) said,
“Whatever is cut from an animal while it is alive is Maytah (unslaughtered dead meat).”
(Related by
Imam Ahmad,
Abu Dawud, and
Al-Tirmidhy, with an authentic Sanad [chain of narrators])
(Part No. 22; Page No. 503) May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.