The general rule of thumb is, if the back of the laptop has access doors, or has screws, such that removing it is easy, then that does not, in and of itself, void the warranty. But if the unit is sealed and you have to pry it apart, that does.
As to upgrades at a Service Center, you have to contact them directly to find out what they will do and what that will cost.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".