Yes Female cats do pee on things when they're in heat.
A female cat in heat pees or urinates on things to mark it so the cat can let male cats know that the female cat is looking for a mate.
Spaying your female cat will stop them from urinating on things when in heat so you should always get your female cat spayed.
Other good ways to get your female cat to stop spraying things with urine is to use cat pheromones which can help to keep your cat calm so they won't spray urine on things.
Cat Pheromone products can be placed in common problem areas where the cat is spraying urine and they're also available in plug-in diffusers.
Also keep your cats litter box as clean as possible and avoid crowding your cat with too many other pets since it can stress the cat out and cause them to spray more.