Certified GKH Gardening Expert
Yes, those appear to be male flower pods. Female flower buds will have an ovary at the bottom that will swell into the fruit once pollinated. Seeing male flowers first is a very common occurrence. Not to worry. Female flowers will show soon enough, with the right care.
This collection of articles will help you to grow pumpkins properly: https://www.gardeningknowhow.com/category/edible/vegetables/pumpkin