Yes its possible within the limits that exists in the vehicle network ecosystem. Like one of the answer suggested you can plug a OBD2 reader and connect with it to get the readings.
This has it's limitations though. The vehicle come with fuel level sensors but the values are not always broadcasted or made available to the BCM (body control module) with which these OBD readers communicate. The ability to be able to read such data gets a little complicated. You will ideally have to tap into the CAN network directly from the OBD2 port (pin 6 & 14) and reverse engineer the function address (jargon for vehicle CAN communication) that the fuel level is being mapped to inside this particular vehicle network. And to your surprise, these IDs are not standard across different manufactures or models. So, it becomes a long journey of reverse engineering. But assuming, if you are able to do that - then it is just a matter of writing a CAN payload targeting the function address to get the value in response.
