Using ramps is exactly how I level mine for oil changes. I back the truck up on to them and it's almost dead level. Plus it gives me a bit more room underneath to look around for potential issues.
A warning about ramps however! 20 years ago I had a truck up on ramps to do a trans filter/fluid change. The front tires were pressed firmly against the ramp's bump stops. When I was removing the bolts from the trans pan, the cable bracket, which was attached via the pan bolt dropped and took the trans out of park. The stored kinetic energy from the tires pushed the truck off the ramps and onto my shoulder/chest. Luckily, my daughter heard my screams, and while I held the trans cable in position, my wife drove the truck off me. Broken ribs, collar bone and shoulder blade were the result along with a lengthy hospital stay and recovery period. It was a situation where I had done this type of work multiple times and never had an issue, but I had never had a trans kick out of park before either. All could have been avoided with wheel chocks which are now a standard for any off ground vehicle work I do.