The comment of John Hughes suggests how to find all solutions to the functional equation.
Indeed, your assumption is equivalent to say that the function
$K(x) := h(x) / a^x$ is positive $1$-periodic, i.e. $K(x+1) = K(x)$ for every $x\in\mathbb{R}$.
Hence, any function of the form
$$
h(x) = a^x K(x),
\qquad
K\colon\mathbb{R}\to (0,\infty)\quad 1-\text{periodic}
$$
is a solution to your functional equation.
Among these solutions, you are looking for the ones that are bijective.
Clearly you must have $a\neq 1$.
In this case, if $K = $ constant you get a solution.
Unfortunately, we can also have other solutions.
Consider, for example, the case $a = e$ and let
$$
h(x) = e^x (10 + \sin(2\pi x)).
$$
Then
$$
h'(x) = e^x (10 + \sin(2\pi x) + 2\pi \cos(2\pi x)) > 0
\quad \forall x\in\mathbb{R},
$$
hence $h$ is a bijection from $\mathbb{R}$ to $(0,\infty)$.