Yes! Rats of both sexes will hump their same-sex buddies as an assertion of dominance. Females, especially, will hump and chase each other when in heat.