Yes, you can. The Sims 2 has always allowed same-sex relationships, and Apartment Life is no exception.
The simplest approach is to have the two Sims flirt repeatedly. Keep the interactions positive and their relationship bar will gradually build toward romance, just as it would for any other pairing. A little patience and plenty of friendly conversation go a long way.