Hello @paintmeagalaxy!
Francisco shared some great advice- electric or battery-powered candles are a great option!
When I was in university I had a similar issue. Here are a few ideas for you:
With a bit of creativity, you can use the steam from a hot cup of tea or bath for spell or ritual work that requires smoke.
You may be able to have a lit candle or light incense as long as you keep it in an open window with good ventilation and practice candle safety.
Digital fire is relaxing and free- there are many videos on YouTube that make for a great background when practicing spellwork. Here’s a favorite of mine:
If you decide candles aren’t an option- no worries! There are so many other kinds of magic- consider tea meditations, divination, moon magic, or others. There are many spells and rituals that don’t require candles!
Good luck, have fun, and blessed be!