Wtf???

Is this a maggot? I've cleaned up 27 of these mother fuckers. They are just popping up all over my carpet! There's no food, no trash or anything and they just keep coming. My landlord says they only come from something dead or some food but there's nothing on the floor causing them to be attracted my apartment. I'm getting sick of this. It's been a week. It's damn disgusting and my landlord won't do anything . IDK WHAT TO DO
I do have a dog, and it's a duplex. So it's a flat foundation underneath