The Rhine towns themselves do not require much if any uphill/downhill walking because they are built on fairly narrow spits of mostly-flat land near the riverbanks. If you stay in town, and do your walks in town, you'll be just fine.
Boppard has a great chairlift ride - Ruedesheim and Koblenz have gondolas - and these devices will allow you to enjoy the views from the clifftops. The same is true over on the Mosel River in Cochem... nice chairlift there.
CASTLES: Burg Eltz, Marksburg (in Braubach,) Rheinfels (in St Goar) and Reichsburg (in Cochem) are the biggies. How to reach these castles??
Eltz: Train + bus + Castle shuttle
Marksburg: taxi from Braubach town center
Rheinfels: public bus or taxi from town
Reichsburg: public bus or taxi from town
The problem with all these castles may come once you are inside. Lots of steps. not sure how you'll deal with those. Reichsburg is probably the easiest of all to negotiate on foot. From the website:
"You have to climb stairs in the castle during the tour (30 steps up to the first floor, 15 steps down a narrow spiral staircase and 10 steps down a balustrade)."
BOPPARD is a near-ideal base town in several ways. There are dozens of good lodging and dining options there, many with riverfront views. It's the closest of the small west-bank towns to Koblenz and to the Mosel Valley. And unlike St Goar or the other towns, every hotel/apartment guest there receives a free VRM Guest Ticket which provides unlimited public transportation to all the nearby towns I have mentioned.
St Goar is also a good choice; though it's much smaller, with fewer options and a Guest Ticket only in a few establishments, it has a lovely setting and a good location for most outings.