To be absolutely sure, ask your advisor/supervisor – but they’ll probably advise that it is up to you, depending on the university’s guidelines.
Adding a dedication for, as you say, is a source of inspiration for your work, is a very kind and apt addition to your thesis. I agree with Dexter, that is a good thing to include.
I had dedication pages in my honours, masters and PhD theses, and these had no negative affect on the peer review that my work went through to be assessed (here, a thesis is peer-reviewed for assessment). One reviewer even noted that it was a “nice touch”.
Another to consider is that a “to the point” dedication for the inspiration for your work could garner positive exposure to the influential person’s work – which is also a very nice thing too.
But, when it comes down to it, it will be the academic content of your thesis that will truly matter.