Hello ShivaFar
Yes, by using a combination of displacement and mass reduction constraints.

You can use the software to determine the displacement of your model with the desired stiffness for an applied load.

In the topology optimisation you can then set the calculated displacement as a displacement constraint and then iteratively reduce the retained mass percentage untill you have achieved the desired stiffness.

I haven't worked with thermal compliance in ANSYS but if you have any more questions regarding the stiffness please do ask!