Yes.
Antifungal skin creams used for athlete’s foot such as Canesten (clotrimazole 1%) are effective for thrush under the foreskin, or for tinea or thrush in the groin (jock itch).
You can buy these without prescription from the pharmacy.
See your doctor if the problem persists.