Yes it's ok to ask such questions
However i think all employees need more than compensation to feel satisfied.
These days people fcous more on Job Profile and opportunities for growth within an organisation.
However compensation also plays an important part in determining their satisfaction levels