Backend with pure elixir (direct SQL in DataBase) without frameworks possible?

Is it possible to program backend with pure elixir (direct SQL in BD) without frameworks? What are the challenges or problems?