Can I use inform 7 on the apple ii?

I believe you can compile an Inform 7 game to Z-code version 5, which you can then run on a Z-code version 5 interpreter on an Apple II.

However, Inform 7 was not designed with 8-bit machines with slow CPUs and little RAM in mind. Inform 7 games get very slow on such computers.

You should read this thread: Inform 7 games on Commodore 64: A report