But what do you want to have happen after the check?
The answer is yes - but in context. Some situations it will only be possible in code.
But if (for e.g.) you are wanting some other field (field B) to change it's value based on whether another field (field A) is currently 'invalid' then you could set up rules on field B to set it's value with condition equivalent to the validation rules on field A.