Yes, in both cases you can separate like that. If, however, you use a pronoun, then you must separate:
He made it up.
He made up it.
I am afraid that this is an area where the dictionary is required- you cannot tell from the words alone whether a phrasal verb is separable or inseparable- you can't do this with all verbs. 'Look into', for example, is a verb where you can't separate the verb and the particle:
I'll look into the matter.
I'll look the matter into.