Yes. To say "allow myself" you would use дозволи, that's after all the verbs main use. Even in English I can hardly think of a sentence where replacing afford with allow changes something substantial in the meaning.
If you want a verb that's corresponds most to afford use приушти. I think you can get some confused looks from people with позволи, if they don't already hear it as дозволи.