Yes, you can indicate which variant of English a word is spelled in by using the appropriate spelling for that variant, or by specifying the variant of English being used, such as “American English” or “British English”.