Yes, that's possible, but you have to be careful not to mix ? and ?nnn parameters, because the third ? and ?3 are apparently the same thing.

On Wed, Sep 2, 2020 at 1:44 AM Lassi Kortela <xxxxxx@lassi.io> wrote:
> Would it be a problem to leave out support for positional parameters
> entirely?

Just realized that if a Scheme program supplies named parameters as an
alist or plist, where the keys are symbols or strings, we could use
integer keys to supply positional parameters.

(sql-do '("insert into foo values (@bar, @baz, ?)"
           bar 1
           baz 2
           0   3))

It would work but it's not that clear. Anyway, mixing positional and
named parameters ought to be quite rare so maybe it's not a big deal in
practice if we support both that way. Since the positionals look kind of
ugly, it would also incentivize people to prefer named parameters.