Can Elgg do this?

Hello everyone. I'm trying to find a CMS to help me with a somewhat specific need. I am building a site to help people find friends based on things they like and also build groups based on those likes. Is Elgg good for that, or do you have any suggestions?