Is it possible to recycle the glass bottles and jar in desired shape and size by melting?
Yes, The general term is 'bottle slumping'.  There are several images on pinterest.  The glass is heated to the point that it can be shaped.  Current trends are to use a Kiln, with temperatures between 500F and 1500F 

I have memories from local carnivals in the 1960s and 1970 of the bottles being heated in a liquid, shaped and given as prizes or sold. I had a coke bottle for several years that was obtained from the carnival.