Yes, the spell description specifies another creature, not specifically an enemy creature. If you want to hamper one ally to give an advantage to another, you can, which might make sense in certain strategic situations.