Yes, it is perfectly fine to mix American and British spelling in most situations. There are some instances where it may be confusing to do so (eg. spelling "color" as "colour" when writing for an American audience), but generally speaking, people will understand what you mean regardless of which spelling you use.