If you ommit the --prefix switch, the default installation path is set to /usr/local.
If you 're asking if it's possible to ./configure, make and run codeblocks without installing it (make install), you can't. The datafiles, plugins etc are put together on installation.