Yes, you can return a rental car to a location different from the one where you picked it up. However, you’ll likely be charged an additional fee for dropping the car off at a different location.
You may be able to lower this drop-off fee (or avoid it entirely) by looking for promotions or deals, joining a car rental loyalty program, earning elite status, or comparing prices across agencies.