Actually, that has a 2-part answer

Within PL/SQL : Yes
To the outside world: No

So if you plan on calling this function from somewhere other than PL/SQL, then maybe use 1/0 or Y/N instead.

- Chris