Only by flipping the switch to an electric start gas fireplace.
Lighting a fire will only impede the inspection process and prevent a home inspector from inspecting your fireplace and chimney.
As a side note, you should also remember that a home inspection is visual in nature and the inspector will only be able to take a look up the chimney with their flashlight.
Therefore, if you have any particular reason for concern, it’s always a good idea to call a professional chimney sweep to do an in-depth evaluation, which usually includes sending a light and camera up the chimney.