Is there a way to put pictures on 3D models and make a texture?

It’s painted/textured in 3D and then baked onto a UV unwrap. Pretty much any modelling software can do this.

You can apply pictures of a real sword to your model and then bake it, and you’ll have this kind of an unwrapped texture.