Any modifications or custom work done on the vehicle is generally not taken into account by the lender, and you will not receive any compensation for them.
However, there are some potential exceptions to this rule, depending on the specific laws in your jurisdiction and the terms of your loan agreement. It's important to consult with a legal professional to understand your rights and options.