Generally, no. But it depends on the position and the laws of the state.
A judicial candidate is usually not allowed to raise money themselves for their election. This means that they are prohibited from asking for donations, fundraising or accepting campaign cash from anyone. They can’t even accept a personal loan or in-kind donation of goods or services.
If you cannot raise money from outside sources for your judicial election, consider seeking endorsements from legal organizations and others to highlight your credentials.