You can return any integral exit code you like. The BASH scripting guide page you reference just says it could be confusing when debugging something that returns a well-known code for some other reason.
That page also mentions /usr/include/sysexits.h
as an attempt to systematize exit codes for C programmers.