What you're describing is possible. I don't know about car rentals on the Egyptian side, but if you took a taxi or shared taxi from Sharm to Taba, you can get dropped and definitely cross by foot. Then you can take a taxi to Eilat and rent a car from there.