OK, so first thing, the Lakes will be mobbed in July... Chances of getting "good motorcycling" will be thin. The main honeypots of Ambleside, Keswick, Windermere and Grasmere will most likely be log jammed with cars and tourists anytime after 10am, and will remain so all day until evening.
The Dales less busy, fortunately, and the area makes fabulous motorcycling.
Obvious passes in the Dales area are Buttertubs (Kirkby Stephen via Thwaite to Hawes) and of course the Hartside Pass
<iframe width="560" height="315" src="
" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Clarkson says Buttertubs is one of his favourites
https://www.examinerlive.co.uk/news/local-news/stunning-yorkshire-route-jeremy-clarkson-23816253 (it's a fab road, but not IMO the best motorcycle road) - Hartside is motorcycle heaven!
There are many more, and if you load a map, and look at Stanhope, Alston, Hawes, Leyburn, Kettlewell, Kirkby Lonsdale (Devil's bridge) you cannot go far wrong! Remember to get a piccie at Ribblehead Viaduct
Some famous cafe's in the area for bikers, like Devil's Bridge, Filling Station in Keswick, Tea room in Hornby, The Nook (Alston
https://www.facebook.com/profile.php?id=100035421926540 ) , Manor Farm Cafe in Leyburn (also has a bike shop) plenty of options in Hawes.
Back to the Lakes, there are at least 5 passes if you can bear the logjam of cars (or do them early in the morning). There's a cycle route which takes them all in, called the Fred Witton - this route will give you good coverage of the main passes...
https://fredwhittonchallenge.co.uk/route/ - there's a GPX file on this page too
In terms of accommodation, you may struggle in the honeypot towns (Ambleside, Keswick etc) so we've usually stayed in places like Carlisle, Penrith, Skipton, Harrogate, and used them as bases...
I live in the South of the area, and happy to help
Edit - also just found this
https://www.adventurebikerider.com/discovering-yorkshire-dales/