Though Optifine is compatible to run with forge if you choose to run it without forge you wont face any problems unless, your are using multiple mods.