Hi Nidhi Priya,
Thank you for asking your quesitoion in QnA!
Definetly you can manage your traffic between 2 VMs using your Checkpoint Firewall the Scenario is called East-West traffic
You need to create user defined route(UDR) making sure all the traffic is routed through the firewall.
https://learn.microsoft.com/en-us/azure/virtual-network/virtual-networks-udr-overview
You can take refrerence form following link to create a route table to route traffic through NVA(Your checkpoint Fw)
Please click "Accept as answer" if this helps.