Yes you can install oracle database without installing oracle grid.
You must install Grid Infrastructure only when you need use ASM (Automatic Storage Management) to save inside your datafiles, controlfiles, spfiles, and so on.
If you want a Database only for testing purposes you don't need install Gris Infrastructure. You can use your filesystem .
here there is a article about what is ASM: