Yes, such a set is convex. To see this, note first that $A$ is locally connected via piecewise linear paths, and hence globally connected by such via connectedness (this is the same argument that upgrades local path-connectedness to global path connectedness in a connected space- namely, the PL-connected components are open and disjoint, so by connectedness there can be only one). In particular, $A$ is rectifiably connected.
There is therefore a path joining any two points with minimal length* (this follows from compactness, equicontinuity of arc length parametrizations, and lower semi continuity of length, see e.g. Semi-continuity of arc length)
But a minimal length path joining two points in $A$ must be locally linear (hence linear), elsewise it can be shortened at some point by local convexity.
*Update
To elaborate more on this argument, if $\gamma_i$ is a sequence of arc-length parametrized paths that approaches the infimum $L$ of path-lengths between $p$ and $q$, then extend each $\gamma_i$ so that they all have a common domain $[0,L']$, where $L'\geq L$ is the largest length of any path in the sequence (we extend in such a way that each path is constantly equal to the endpoint $q$ on the extension).
Now the paths form a sequence of $1$-Lipschitz maps, and are hence equicontinuous, so by the Arzelà–Ascoli theorem, there is a subsequence converging pointwise to a $1$-Lipschitz map $\gamma\colon [0,L']\to A$. Since the lengths approach $L$, from the way we defined the extension we must have $\gamma(t)=q$ for each $t\geq L$, so the restriction $\gamma|_{[0,L]}$ is a $1$-Lipschitz path from $p$ to $q$, hence has length at most $L$ (and therefore exactly $L$, since $L$ was the infimal length).