It is certainly possible for a planet to have a year about 182.625 Earth days long and a day 12 Earth hours long, thus having the same number of planetary days per planetary year.
1) Year of 182.625 Earth days.
According to Wickipedia exoplanet PSR J1719-1438 b has a day 0.092 Earth days or 2.2 Earth hours long. Thus it has a year much shorter than the day you desire.
Of exoplanets that orbit in the habitable zones of their stars, TRAPPIST-1e, TRAPPIST-1f, and TRAPPIST-1g have orbital periods or years that are 6.1, 9.2, and 12.4 Earth days long, while Proxima Centauri b has a year 11.186 Earth days long.
But they orbit dim red M class stars and thus are so close that they would probably have tidally locked rotation with years and days of equal length and one side always facing the star and the other side always in darkness.
One way to avoid that is to have the habitable world be a giant moon of a giant planet. Thus the habitable world would be tidally locked to the giant planet. Furthermore, a moon's obit will not be stable unless the orbital period of the planet around their star is at least nine times a long as the moon's orbital period around its planet. So having the planet's year be 365.25 times as long as the orbital period of the habitable moon around it will be no problem.
But I think that I read somewhere that a habitable moon should orbit at a distance at least about 5 times the radius of the planet it orbits.
In our Solar system Proteus, the Neptunian moon closet to 5 radii from Neptune, has a period 1.112 Earth days long; Miranda, the Uranian moon with an orbit closest to 5 radii from Uranus, has a period 1.413 Earth days long; Tethys, the Saturnian moon with an orbit closest to 5 radii from Saturn, has a period of 1.887 Earth days, and Io, the Jovian moon orbiting closest to 5 radii from Jupiter, has a period of 1.769 Earth days.
Thus it seems unlikely that a tidally locked habitable moon of giant planet orbiting a class M star could have a day equal to 0.5 Earth days.
The list of potentially habitable exoplanets also includes Kepler-62f that orbits Kepler-62 a K2V type star, with an orbital period of 267.291 Earth days, and Kepler-442b that orbits K?V star Kepler-442 with a period of 112.3053 Earth days. Thus it is possible that your planet could orbit in the habitable zone of a K class star and have a day about 182.625 Earth days long without being tidally locked to its star or needing to orbit a giant planet in order to have a day shorter than its year.
2) Day of 0.5 earth days.
The four rocky terrestrial planets in the solar system have days at least one Earth day long.
The giant planets in the solar system have days much shorter. The 2 biggest giants, Jupiter and Saturn have days 0.41354 and 0.44401 Earth days long.
Thus one might deduce that the largest planets have the shortest days and a planet a bit smaller than Saturn is necessary to have a day 0.5 Earth days long. That would be bad.
But Earth has about 9.34 times the mass of Mars and the Martian day is slightly longer than the Earth day. And the dwarf planets Ceres and Haumea have days shorter than Earth's - 0.3781 and 0.167 Earth days.
Thus it seems possible for a planet of Earth like size to have a day much longer or shorter than Earth's day.
But Earth didn't gain an oxygen-rich atmosphere or become habitable for humans for billions of years after forming. And during those billions of years the rotation of the Earth gradually slowed due to tidal interactions with the Moon and forced the Moon farther away from Earth. So Earth's days got longer and longer.
Back when the Moon was formed the length of an Earth day was a very brief two to three hours, and a much closer Moon was orbiting the Earth every five hours.
Thus a planet that never had a large moon might have a day only 12 Earth hours long.
But some planetary scientists believe that having a large moon is necessary for a planet to remain habitable, that a large moon stabilizes the axial tilt of the planet.
So you might not be able to get away with a moon less planet. You might need a planet that originally spun very fast and gained a large moon that stabilized its axial tilt and slowed down its spin but less than Earth's Moon did, so that the planet's day is still only half an Earth day long.
So if you are writing soft science fiction don't worry about it, a planet with both a day and a year half those of Earth's is perfectly plausible for your audience. But if you are writing any type of hard science fiction you might want to get someone to calculate all the parameters of your imaginary world to make sure it is possible and everything is consistent with other factors.
You wouldn't want to write that a month on that planet was 25 Earth days long and have a fan calculate that the months must be less than 15 Earth days long for the situation to be plausible, for example.