Since the PYNQ framework contain drivers to interact with the PL, I was wondering if it is possible to use the PYNQ framework with C or C++ instead of writing python script.
Yes, you could. You could use the Xilinx SDK (software development kit) tools if you want to do this. This is probably one of the main ways Zynq software is developed. I’m not sure why you are asking this on the PYNQ forums. This would negate most of the features and the value of using PYNQ.
If you want to do this, you might want to move to the Xilinx forums.
You could also write C libraries and call them from PYNQ/Python to get the best of both worlds. We also do this with PYNQ for some libraries.