Gaurav,
Are you referring to matching on communities or extended communities in a route-map either applied inbound or outbound on a VPNv4 neighbor? If so, it should be possible. Could you please elaborate.
Regards
Regards,
Harold Ritter, CCIE #4168 (EI, SP)