The only stupid question is the one you don’t ask. Wouldn’t you feel stupid if you got a chicken hurt because you didn’t ask a question? Don’t be ashamed of not knowing something, we all have to start somewhere.
Yes, chickens can get a shock from an electric fence if they close the circuit. Their feathers or down will insulate them but if they touch it with bare parts like combs, wattles, or feet and probably the beak they are not insulated. That doesn’t mean they will be hurt or injured.
I don’t know what your electric fence looks like, what wires are hot or what is the ground, so it may be challenging for them to close that circuit with parts that are not insulated. I use electric netting so any chicken standing on the ground that touches the hot part of the netting with some body part not insulated gets shocked. The openings are large enough that chicks walk through that without getting shocked until they grow too big to fit, usually around 7 to 8 weeks of age. Their down and feathers insulate them.
When an adult touches the hot part with comb or wattles they get shocked. They make a startled sound, jump back, then go about their business. It doesn’t hurt them but they do notice it and it is not pleasant. It surprises them more than anything else. The current is very high voltage but very low amperage. Amps are more dangerous that voltage. I’ve been shocked by that netting a few times.
The big safety feature with electric netting and electric fencing is that it is not a solid steady current. It pulses. My netting pulses about 50 times per minute. This means the animal getting shocked can turn loose. With a steady current they can’t turn loose and that could kill them. I have had some critters, like a couple of snapping turtles and a snake, get tangled up in my netting and unable to turn loose. One turtle and the snake died. The other turtle recovered and walked off after I got it loose. I don’t know how long they were tangled up but probably a pretty long time for the two that died. I’m not going to tell you there is absolutely no danger but really, how hard would it be for a chicken to get tangled up where it can’t let go? That’s never happened to my chickens with netting, and that’s probably much more likely with netting as compared to an electric fence.