Here is a simple brute-force modification of vanity.java to do what you wanted. Sorry, I have no place to upload a compiled binary, you would have to compile the java file yourself. I only modified the main method.
So if you want an account starting with 666666, and having a secret phrase starting with "nxt rules ", running:
java vanity "nxt rules " 666666
will give you result such as:
nxt rules 1623669388 gives 6666666733107667231 account
(and keep trying, to get a shorter account number).
Thank you! It works!