Yes, the position you sleep in can affect the type of mattress that would be most suitable for you. Different sleeping positions place different types of pressure on your body, and a mattress that is well-suited to your sleeping position can help to alleviate pressure points and provide the right level of support.
For example, if you sleep on your back, you may want a firmer mattress that can support your spine and keep it in a neutral position. If you sleep on your side, you may want a softer mattress that can cushion your shoulders and hips and relieve pressure points. And if you sleep on your stomach, you may also want a firmer mattress that can keep your spine aligned and prevent your midsection from sinking too deeply.
It's also worth considering your weight and body type when choosing a mattress. A heavier person may need a firmer mattress to provide adequate support, while a lighter person may find a softer mattress more comfortable.
Overall, it's important to choose a mattress that is comfortable and supportive for your specific sleeping position and body type. It's a very good idea to try out different mattresses in person.