Generating IDs on using of PUT method

Is it possible to generate record Ids on using of PUT method with API?

No. You have to provide all the data to the method. Generating a guid is possible in most of the programming languages today.