yes it can be done in blender, when you create the first material it gets applied to the whole mesh, create the second material, switch to edit mode, select the faces you want, then click the “assign” button in the second materials options and it will be applied to the faces you selected, that’s it.
hope that helps:)