Is it possible to define package procedure/function outside of package body block (for Oracle)?
You always need to compile the entire package body -- it is one item of code. You can create functions and procedures inside other procedures, but that does not change the need to recompile the package body.

What problem are you trying to solve here?