Yes, border driving is generally allowed within the EU. The fees for this vary from rental company to rental company and are usually between 25 and 50 euros.
Even if border travel is possible, a return abroad usually is not. You must therefore return the vehicle to the country where you picked it up.