Yep you can. Just did so last week. Use Appstore App GridCellStyler. See https://forum.mendix.com/link/questions/94594 for a detailed description
Depending on what you’re basing the conditional formatting on (such as an enumeration) it could be good to use a list view and just base the colours on the enumeration itself.
Make a couple of containers that change visibility based on the enumeration.
Add distinct classes to the containers and style these in SASS.