I want to learn music but dont know any basics and dont have any instruments. Is it possible for me to learn from DAW.
It's probably possible to learn just from using a DAW, but I wouldn't think it would be the easiest way to learn. Most DAW software isn't at all suitable for beginners and doesn't 'help' you a lot - DAWs are complicated and you need a lot of knowledge in music and sound engineering to be able to get them to do what you want.
Also, most people who use DAW software do use an instrument - e.g. a MIDI controller such as a MIDI keyboard - to play in the sequences that they are making. The alternative is just to enter notes with the mouse in the DAW, and this can work, but I wouldn't want that to be my only way to get notes in.
If you're really a beginner, I wouldn't personally recommend starting with a DAW. One way to begin might be to start with learning the keyboard, which is a good instrument to know for composers. Or if you want to dive straight in with making beats, why not look at getting a sequencing sampler like an Akai MPC, or a Korg Volca sample, or a Elektron Model:Samples ? All of these will probably be more fun, focused, and easier to use for a beginner. You could probably even get an app for your phone or iPad that has similar functionality for beat making.