Yes, component or base prices are scriptable fields which can accept SSI Script or JavaScript. This puts you in an advanced area, so please test the survey very carefully, including checking that the right price values are being shown on the screen and also being stored in the data file correctly.