Do you think using bedtime as a punishment causes children to dislike bedtime as much?

Randi • In love with my best friend. ❤ 5/26/18 👰🤵 Mama to the perfect baby boy born 11/14/19👶💙

Title pretty much says it all. I know bedtime is often used as a punishment for children. I'm not judging if you use it as a punishment for your kids and I'm not saying there's anything wrong with it, my question is do you think doing that causes a stronger dislike for bedtime? I also know many children don't like going to bed. Do you think they associate it with a punishment, whether they realize it or not?